package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_room_shifts_user")
public class OmcRoomAssignment extends BaseEntity {

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 房间id
     */
    @Column(name = "room_Id")
    private Integer roomId;

    /**
     * 班次id
     */
    @Column(name = "shifts_Id")
    private Integer shiftsId;

    /**
     * 用户id
     */
    @Column(name = "user_Id")
    private Long userId;

    /**
     * 护工姓名
     */
    @Column(name = "real_Name")
    private String realName;

    /**
     * 护工组id
     */
    @Column(name = "nursing_Group_Id")
    private Integer nursingGroupId;

    /**
     * 护工护理日志填写日期
     */
    private String date;
    @Transient
    private String month;

}